package com.tencreat.domain.account;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.tencreat.common.core.domain.BaseEntity;
import com.tencreat.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * 登录 用户类型对象 account_login_check
 *
 * @author tencreat
 * @date 2021-09-06
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("account_login_check")
public class AccountLoginCheck extends BaseEntity<AccountLoginCheck>{
    private static final long serialVersionUID = 1L;


    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;


    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("`uuid`")
    private Long uuid;


    /** 与usertype枚举关联 */
    @Excel(name = "与usertype枚举关联")
    @ApiModelProperty(value= "与usertype枚举关联")
    @TableField("`user_type`")
    private Integer userType;


    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(value= "手机号")
    @TableField("`phone`")
    private String phone;


    /** 用户名 */
    @Excel(name = "用户名")
    @ApiModelProperty(value= "用户名")
    @TableField("`username`")
    private String username;


    /** 密码 */
    @Excel(name = "密码")
    @ApiModelProperty(value= "密码")
    @TableField("`password`")
    private String password;


    /** 微信小程序openid */
    @Excel(name = "微信小程序openid")
    @ApiModelProperty(value= "微信小程序openid")
    @TableField("`wx_small_open_id`")
    private String wxSmallOpenId;

    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    @TableField("`del_flag`")
    private String delFlag;



    /** 租户ID */
    @Excel(name = "租户ID")
    @ApiModelProperty(value= "租户ID")
    @TableField("`tenant_id`")
    private Long tenantId;


}
